/**
 * SPDX-FileCopyrightText: 2023-2025 Sangfor Technologies Inc.
 * SPDX-License-Identifier: Mulan PSL v2
 */
exports.check = function () {
    // return true;
    return false;
};

exports.mockData = function () {
    return {
        "code": "0000000",
        "msg": "suceess",
        "success": true,
        "data": {
            "list": [
                {
                    "id": "123",
                    "jobId": "456",
                    "jobName": "XXX",
                    "sqlText": "select * from xxx",
                    "sinkDataspace": "xxx",
                    "sinkDataset": "xxx",
                    "writeMode": "overwrite",
                    "scheduleMode": "once",
                    "scheduleTime": "0",
                    "jobStatus": "running",
                    "jobInQueue": "20/60",
                    "createTime": "2022-10-21 12: 12: 12",
                    "startTime": "2022-10-21 12: 12: 12",
                    "endTime": "2022-10-21 12: 12: 12",
                    "process": "0.5",
                    "ownerName": "liuzhouyu",// 创建人
                    rank: 1, //  等级 1 2 3
                    "executeTime": "120",
                    "inputDataset": "xxx", //输入数据集
                    "outputDataset": "xxx", //输出数据集
                },
                {
                    "id": "111",
                    "jobId": "222",
                    "jobName": "XXX",
                    "sqlText": "select * from xxx",
                    "sinkDataspace": "xxx",
                    "sinkDataset": "xxx",
                    "writeMode": "overwrite",
                    "scheduleMode": "once",
                    "scheduleTime": "0",
                    "jobStatus": "queue",
                    "jobInQueue": "20/60",
                    "createTime": "2022-10-21 12: 12: 12",
                    "startTime": "2022-10-21 12: 12: 12",
                    "endTime": "2022-10-21 12: 12: 12",
                    "process": "0.5",
                    "executeTime": "120",
                    "ownerName": "liuzhouyu",// 创建人
                    rank: 1, //  等级 1 2 3
                    "inputDataset": "xxx", //输入数据集
                    "outputDataset": "xxx", //输出数据集
                }
            ],
            "total": 100
        }
    }
};
